package com.devenv.dto;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 软件信息DTO
 */
@Data
public class SoftwareDTO {
    private Long id;
    private String name;
    private String displayName;
    private String description;
    private String category;
    private String officialUrl;
    private String osSupport;
    private Integer priority;
    private String status;
    private List<String> tags;
    private Long downloadCount;
    private BigDecimal rating;
    private Integer ratingCount;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;

    // 关联数据
    private List<SoftwareVersionDTO> versions;
    private List<MirrorSourceDTO> mirrorSources;
    private SoftwareVersionDTO latestVersion;
    
    // 统计信息
    private int versionCount;
}
